package com.naiterui.ehp.bs.recommend.service;


import org.springframework.data.domain.Pageable;

import com.naiterui.common.repository.page.PageVO;
import com.naiterui.ehp.bp.support.exception.BusinessException;
import com.naiterui.ehp.bs.recommend.vo.assist.DrRevisitVO;
import com.naiterui.ehp.bs.recommend.vo.assist.DrugRemindParamVO;
import com.naiterui.ehp.bs.recommend.vo.assist.DrugRemindVO;
import com.naiterui.ehp.bs.recommend.vo.assist.OrderParamVO;
import com.naiterui.ehp.bs.recommend.vo.assist.PtRevisitVO;

/**
 * @author gaoliangliang
 * @date 2019-06-20 14:26
 * @since 1.0.0
 */
public interface IAssistService {
    void orderComplete(OrderParamVO orderParamVO);

    PtRevisitVO ptRevisit(Long doctorId, Long patientId) throws BusinessException;

    DrugRemindVO drugRemind(Long recomId);

    void saveDrugRemind(DrugRemindParamVO drugRemindParamVO) throws BusinessException;

    PageVO<DrRevisitVO> drRevisit(Long doctorId, Pageable pageable);

    void remindCallBack(Long recomId) throws BusinessException;

    void revisitCallBack();

    /**
     * 获取是否启用用药提醒
     * 
     * @param recomId
     *            处方id
     * @return 是否启用
     */
    Boolean getEnabledDrugremind(Long recomId);
}
